package com.homework.ch06;

public class Vehicle {
    private String name;

    public Vehicle(String name) {
        this.name = name;
    }

    public void run() {
        System.out.println(name + "正在行驶...");
    }
}
